home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _E2EF8F005D5A46939AEDB487C6E40B5E < prev    next >
Encoding:
Text File  |  2006-08-04  |  983 b   |  31 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_BlackAndWhite():
  13.     return {
  14.         'BlackPoint': (0,0,0), 
  15.         'GreyPoint': (127,127,127), 
  16.         'WhitePoint': (255,255,255), 
  17.         'BlackDest': (255,255,255), 
  18.         'GreyDest': (127,127,127), 
  19.         'WhiteDest': (0,0,0), 
  20.         'BalanceGrey': App.Constants.Boolean.false, 
  21.         'PreserveLightness': App.Constants.Boolean.false, 
  22.         'UseBlackPoint': App.Constants.Boolean.true, 
  23.         'UseGreyPoint': App.Constants.Boolean.true, 
  24.         'UseWhitePoint': App.Constants.Boolean.true
  25.         }
  26.  
  27. def Do(Environment):
  28.     # Black and White Points
  29.     App.Do( Environment, 'BlackAndWhite',         Preset_BlackAndWhite())
  30.  
  31.